<%@include file="/admin/adminHeader.jsp"%>
<%
String action = "" ;
if(request.getParameter("action")!=null)
	action = request.getParameter("action");
%>
 
<table align="center" >
      <tr>
      <%if (request.getParameter("gname")==null){%>
        <td colspan="2" style="font-weight:bold;">Add new Gadget:</td>   
       <%}
      else{%>   
      <td colspan="2" style="font-weight:bold;">Edit <%=request.getParameter("gname")%></td> 
        <%}%>   
      </tr>
      <tr><td>Name:</td><td id="nameFieldContainer"></td></tr>
      <tr><td>Title:</td><td id="titleFieldContainer"></td></tr>
      <tr><td>Status:</td><td id="statusFieldContainer"></td></tr>
      <tr><td>Google Type:</td><td id="googleTypeFieldContainer"></td></tr>
      
      
      <tr><td>Type:</td><td>  Use Minglet for social Gadgets,Bizlet for Google Apps,Other for Gadgets without server side code </td></tr>
      <tr><td></td><td id="typeFieldContainer"></td></tr>
      
      <tr><td>RequestHandler package name:</td><td> Provide the name of your gadget server side RequestHandler package in case it doesn't match the definition in the parameter GadgetsRootPackageName in your web.xml</td></tr>
      <tr><td></td><td id="handlerClassNameContainer"></td></tr>
      
     <tr><td>Help URL:</td><td id="helpUrlFieldContainer"></td></tr>
     <tr><td>Description:</td><td id="descriptionFieldContainer"></td></tr>
     <tr><td>Gadget Descriptor :</td><td> Provide the name of the Gadget xml </td></tr>
       <tr><td></td><td id="gadgetFileNameFieldContainer"></td></tr>   
     <tr><td colspan="2">Gadget Source: (Optional)</td></tr>
     <tr><td colspan="2" id="xmlSourceFieldContainer"></tr>
     
     
      <tr><td></td><td id="sendButtonContainer"></td></tr>
      <tr>
        <td colspan="2" style="color:red;" id="errorLabelContainer"></td>
      </tr>
</table>
    <iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe>
 <%@include file="/include/footer.jsp"%>
